Repository navigation
Let Codex agents replace the stock system prompt - #6379
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Comprehensive static review including independent review. No actionable findings. Checked Python-to-native propagation, default versus empty/custom base instructions, prompt provenance, persisted session settings and resume overrides, and preservation of separate permissions and skills context. Hosted CI observed: {"success": 15, "skipped": 2, "in_progress": 5}. No candidate code or local tests were executed.
Summary
Agent.instructionshas been appending guidance to Codex's stock prompt. With the newAgent.base_instructionsoption, the native engine has been using the supplied text as the base at session open and appending the same guidance.Test plan
With the same
instructionsin each new conversation, the loopback Responses endpoint has been receiving one prompt message with thedeveloperrole ininput.base_instructionsNone\n\nUse metric units."You are a travel planner."You are a travel planner.\n\nUse metric units.""Use metric units.The default prompt text has been matching the pre-change bytes with and without a suffix. Separate skill and permission messages have been coming through in every case.
On reopening a conversation with a different base, Responses Lite has been retaining the earlier prompt in history and sending an explicit replacement. Start a fresh conversation to keep an earlier prompt out of the request.
Checks
.agents/skills/code-change-verification/scripts/run.shthrough formatting, lint and type checksmake testsrun with 307 passes, 3 PostgreSQL skips and 5 failures. The workspace sandbox has been blocking native commands in those five tests.All five command tests and all three PostgreSQL tests have been passing on GitHub. The 12 Redis tests have been passing locally.